Automattic\Jetpack\Classic_Theme_Helper\Jetpack_Portfolio D

Total Complexity 150
Dependencies 5
Dependents 1
Total lines 1,134
Lines of code 739
Logical lines of code 265
Comment lines 284
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
portfolio_shortcode()
A
39 14 64
customize_register()
A
39 13 74
maybe_register_cpt()
A
44 13 41
portfolio_shortcode_html()
A
40 9 69
register_post_types()
A
33 2 121
infinite_scroll_click_posts_per_page()
A
60 9 12
portfolio_query()
A
48 7 37
query_reading_setting()
S
62 9 10
get_project_class()
S
50 7 27
update_option_stat_bump()
S
62 7 12
setting_html()
S
48 4 38
__construct()
S
52 5 23
get_project_type()
S
55 5 18
get_project_tags()
S
55 5 18
updated_messages()
S
47 2 38
settings_api_init()
S
56 3 21
enqueue_admin_styles()
S
64 4 10
site_supports_custom_post_type()
S
69 3 6
flush_rules_on_first_project()
S
63 3 10
sanitize_boolean_attribute()
S
71 3 6
deactivation_post_type_support()
S
61 2 13
init()
S
69 2 7
image_column()
S
71 2 6
edit_admin_columns()
S
66 2 7
activation_post_type_support()
S
70 2 6
flush_rules_on_switch()
S
75 2 5
new_project_stat_bump()
S
73 2 5
new_activation_stat_bump()
S
73 2 5
get_portfolio_thumbnail_link()
S
71 2 5
add_to_sitemap()
S
76 1 4
allow_portfolio_rest_api_type()
S
76 1 4
infinite_scroll_results()
S
75 1 4
flush_rules_on_enable()
S
82 1 3
get_project_author()
S
63 1 10